package com.example.leetcode.twopoint;

import com.example.leetcode.twopoint.common.TwoPointUtils;

import java.util.Arrays;

public class leetcode75 {
    public static void main(String[] args) {
        int[] nums = {2, 0, 2, 1, 1, 0};
        test(nums);

        int[] nums1 = {1, 2, 0};
        test(nums1);
    }

    private static void test(int[] nums) {
        Solution solution = new Solution();
        solution.sortColors(nums);
        System.out.println(Arrays.toString(nums));
    }

    static class Solution {
        public void sortColors(int[] nums) {
            TwoPointUtils.sortColors(nums);
        }
    }
}
